Dynomotion

Group: DynoMotion Message: 14504 From: daveymahomh600e Date: 3/18/2017
Subject: Soft Limits Error
Attachments :

Hi Tom,


I know there have been several threads here about soft limits, but I couldn't find one that helped with my current problem.


The machine is a 2 axis setup and the slide moves fine with the screen arrows and gamepad, but if I enter a value into the MDI window and send it, I get a soft limit error as in the attached picture. The soft limits are set to 9e+030 and -9e+030 for both axis.


Due to the machine setup, some counts are expressed as negative numbers (such as the trajectory planner in KMotionCNC) and I have tried reversing the positive and negative limits in the initialization file, but that doesn't help. The longest travel is only 12 inches (243,840 counts) so I can't figure how the limits are being exceeded.


Any suggestions as to something I could try?


Thanks, David.

  @@attachment@@
Group: DynoMotion Message: 14506 From: geast1967 Date: 3/18/2017
Subject: Re: Soft Limits Error
Check the machines coordinates, they probably exceeded the soft limit.
Group: DynoMotion Message: 14507 From: David Stevenson Date: 3/18/2017
Subject: Re: Soft Limits Error
The machine coordinates are shown in the picture... with the move the max should still be far away. Are there some other machine coordinates I'm missing?

Thanks,
David.


On 3/18/2017 4:51 PM, g.astras@... [DynoMotion] wrote:
 

Check the machines coordinates, they probably exceeded the soft limit.





Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com


Group: DynoMotion Message: 14509 From: Tom Kerekes Date: 3/18/2017
Subject: Re: Soft Limits Error

Hi David,

The Libraries used by KMotionCNC are assuming positive Trajectory Planner Axis Resolution Parameters.  I suppose they should be able to handle negative directions but it would complicate things.

Please reverse the Axis directions in your KFLOP Configuration so as to have positive resolutions values.

Regards

TK


On 3/18/2017 2:23 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

The machine coordinates are shown in the picture... with the move the max should still be far away. Are there some other machine coordinates I'm missing?

Thanks,
David.


On 3/18/2017 4:51 PM, g.astras@... [DynoMotion] wrote:
 

Check the machines coordinates, they probably exceeded the soft limit.





Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com



Group: DynoMotion Message: 14510 From: David Stevenson Date: 3/18/2017
Subject: Re: Soft Limits Error
Hi Tom,

Thanks for your help. There are a bunch of other programs setup which are relying on the current settings... are there any other options? It would take some intensive re-programming to swap the direction.

Thanks,
David.

On 3/18/2017 6:04 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

The Libraries used by KMotionCNC are assuming positive Trajectory Planner Axis Resolution Parameters.  I suppose they should be able to handle negative directions but it would complicate things.

Please reverse the Axis directions in your KFLOP Configuration so as to have positive resolutions values.

Regards

TK


On 3/18/2017 2:23 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

The machine coordinates are shown in the picture... with the move the max should still be far away. Are there some other machine coordinates I'm missing?

Thanks,
David.


On 3/18/2017 4:51 PM, g.astras@... [DynoMotion] wrote:
 

Check the machines coordinates, they probably exceeded the soft limit.





Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com


Group: DynoMotion Message: 14512 From: David Stevenson Date: 3/19/2017
Subject: Re: Soft Limits Error
Hi Tom,

Could you please point me to a listing of which input channels are correlated to the various encoder inputs for Kflop/Snapamp? I found it months ago by accident but haven't been able to locate it since.

Thanks,
David.

On 3/18/2017 6:04 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

The Libraries used by KMotionCNC are assuming positive Trajectory Planner Axis Resolution Parameters.  I suppose they should be able to handle negative directions but it would complicate things.

Please reverse the Axis directions in your KFLOP Configuration so as to have positive resolutions values.

Regards

TK


On 3/18/2017 2:23 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

The machine coordinates are shown in the picture... with the move the max should still be far away. Are there some other machine coordinates I'm missing?

Thanks,
David.


On 3/18/2017 4:51 PM, g.astras@... [DynoMotion] wrote:
 

Check the machines coordinates, they probably exceeded the soft limit.





Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com


Group: DynoMotion Message: 14513 From: Tom Kerekes Date: 3/19/2017
Subject: Re: Soft Limits Error

Hi David,

From:

http://dynomotion.com/Help/SchematicsSnap/UsingSnapAmp.htm

A single SnapAmp adds four Quadrature Encoder inputs.  The four Quadrature Encoder inputs are identified as 8,9,10,11 for the first SnapAmp in a system and 12,13,14,15 for a second SnapAmp in a system.

Regards
TK

On 3/19/2017 12:01 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

Could you please point me to a listing of which input channels are correlated to the various encoder inputs for Kflop/Snapamp? I found it months ago by accident but haven't been able to locate it since.

Thanks,
David.

On 3/18/2017 6:04 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

The Libraries used by KMotionCNC are assuming positive Trajectory Planner Axis Resolution Parameters.  I suppose they should be able to handle negative directions but it would complicate things.

Please reverse the Axis directions in your KFLOP Configuration so as to have positive resolutions values.

Regards

TK


On 3/18/2017 2:23 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

The machine coordinates are shown in the picture... with the move the max should still be far away. Are there some other machine coordinates I'm missing?

Thanks,
David.


On 3/18/2017 4:51 PM, g.astras@... [DynoMotion] wrote:
 

Check the machines coordinates, they probably exceeded the soft limit.





Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com



Group: DynoMotion Message: 14514 From: David Stevenson Date: 3/19/2017
Subject: Re: Soft Limits Error
Hi Tom,

That's perfect... thank you.

I have been trying to reverse the 2 axis today by changing the gain values in the initialization file, but the motors thump around and I can't seem to settle them down. Is there another way to reverse them before getting to KMotionCNC?

Thanks,
David.

On 3/19/2017 5:16 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

From:

http://dynomotion.com/Help/SchematicsSnap/UsingSnapAmp.htm

A single SnapAmp adds four Quadrature Encoder inputs.  The four Quadrature Encoder inputs are identified as 8,9,10,11 for the first SnapAmp in a system and 12,13,14,15 for a second SnapAmp in a system.

Regards
TK

On 3/19/2017 12:01 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

Could you please point me to a listing of which input channels are correlated to the various encoder inputs for Kflop/Snapamp? I found it months ago by accident but haven't been able to locate it since.

Thanks,
David.

On 3/18/2017 6:04 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

The Libraries used by KMotionCNC are assuming positive Trajectory Planner Axis Resolution Parameters.  I suppose they should be able to handle negative directions but it would complicate things.

Please reverse the Axis directions in your KFLOP Configuration so as to have positive resolutions values.

Regards

TK


On 3/18/2017 2:23 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

The machine coordinates are shown in the picture... with the move the max should still be far away. Are there some other machine coordinates I'm missing?

Thanks,
David.


On 3/18/2017 4:51 PM, g.astras@... [DynoMotion] wrote:
 

Check the machines coordinates, they probably exceeded the soft limit.





Avast
                                    logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com


Group: DynoMotion Message: 14515 From: Tom Kerekes Date: 3/19/2017
Subject: Re: Soft Limits Error

Hi David,

What kind of axis is it?

Regards

TK


On 3/19/2017 2:36 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

That's perfect... thank you.

I have been trying to reverse the 2 axis today by changing the gain values in the initialization file, but the motors thump around and I can't seem to settle them down. Is there another way to reverse them before getting to KMotionCNC?

Thanks,
David.

On 3/19/2017 5:16 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

From:

http://dynomotion.com/Help/SchematicsSnap/UsingSnapAmp.htm

A single SnapAmp adds four Quadrature Encoder inputs.  The four Quadrature Encoder inputs are identified as 8,9,10,11 for the first SnapAmp in a system and 12,13,14,15 for a second SnapAmp in a system.

Regards
TK

On 3/19/2017 12:01 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

Could you please point me to a listing of which input channels are correlated to the various encoder inputs for Kflop/Snapamp? I found it months ago by accident but haven't been able to locate it since.

Thanks,
David.

On 3/18/2017 6:04 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

The Libraries used by KMotionCNC are assuming positive Trajectory Planner Axis Resolution Parameters.  I suppose they should be able to handle negative directions but it would complicate things.

Please reverse the Axis directions in your KFLOP Configuration so as to have positive resolutions values.

Regards

TK


On 3/18/2017 2:23 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

The machine coordinates are shown in the picture... with the move the max should still be far away. Are there some other machine coordinates I'm missing?

Thanks,
David.


On 3/18/2017 4:51 PM, g.astras@... [DynoMotion] wrote:
 

Check the machines coordinates, they probably exceeded the soft limit.





Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com



Group: DynoMotion Message: 14517 From: Tom Kerekes Date: 3/19/2017
Subject: Re: Soft Limits Error

Hi David,

Here is a patch that should allow negative resolutions in the Trajectory Planner.

http://dynomotion.com/Software/Patch/FixTPNegResolution_FixSetNextStatementV434h/GCodeInterpreter.dll

Please let us know if there are any issues.

Regards
TK


On 3/18/2017 3:38 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

Thanks for your help. There are a bunch of other programs setup which are relying on the current settings... are there any other options? It would take some intensive re-programming to swap the direction.

Thanks,
David.

On 3/18/2017 6:04 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

The Libraries used by KMotionCNC are assuming positive Trajectory Planner Axis Resolution Parameters.  I suppose they should be able to handle negative directions but it would complicate things.

Please reverse the Axis directions in your KFLOP Configuration so as to have positive resolutions values.

Regards

TK


On 3/18/2017 2:23 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

The machine coordinates are shown in the picture... with the move the max should still be far away. Are there some other machine coordinates I'm missing?

Thanks,
David.


On 3/18/2017 4:51 PM, g.astras@... [DynoMotion] wrote:
 

Check the machines coordinates, they probably exceeded the soft limit.





Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com



Group: DynoMotion Message: 14518 From: David Stevenson Date: 3/19/2017
Subject: Re: Soft Limits Error
Hi Tom,

The axis are 3ph brushless Hudson servo motors (from Teknic) with SnapAmp control.

Thanks,
David.

On 3/19/2017 5:42 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

What kind of axis is it?

Regards

TK


On 3/19/2017 2:36 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

That's perfect... thank you.

I have been trying to reverse the 2 axis today by changing the gain values in the initialization file, but the motors thump around and I can't seem to settle them down. Is there another way to reverse them before getting to KMotionCNC?

Thanks,
David.

On 3/19/2017 5:16 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

From:

http://dynomotion.com/Help/SchematicsSnap/UsingSnapAmp.htm

A single SnapAmp adds four Quadrature Encoder inputs.  The four Quadrature Encoder inputs are identified as 8,9,10,11 for the first SnapAmp in a system and 12,13,14,15 for a second SnapAmp in a system.

Regards
TK

On 3/19/2017 12:01 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

Could you please point me to a listing of which input channels are correlated to the various encoder inputs for Kflop/Snapamp? I found it months ago by accident but haven't been able to locate it since.

Thanks,
David.

On 3/18/2017 6:04 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

The Libraries used by KMotionCNC are assuming positive Trajectory Planner Axis Resolution Parameters.  I suppose they should be able to handle negative directions but it would complicate things.

Please reverse the Axis directions in your KFLOP Configuration so as to have positive resolutions values.

Regards

TK


On 3/18/2017 2:23 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

The machine coordinates are shown in the picture... with the move the max should still be far away. Are there some other machine coordinates I'm missing?

Thanks,
David.


On 3/18/2017 4:51 PM, g.astras@... [DynoMotion] wrote:
 

Check the machines coordinates, they probably exceeded the soft limit.





Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast
                                    logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com


Group: DynoMotion Message: 14519 From: Tom Kerekes Date: 3/19/2017
Subject: Re: Soft Limits Error

Hi David,

To make a servo work the opposite direction both the output drive and the feedback needs to be reversed to maintain negative feedback.

The feedback can be reversed by changing the sign of the InputGain0.

The output drive can be reversed by changing the commutation.

The simplest way to determine the new commutation is to use AutoPhaseFind.c and change the line:

#define ENCODER_GAIN 1   // Set to -1 if desired to reverse axis direction

HTH

Regards

TK


On 3/19/2017 2:44 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

The axis are 3ph brushless Hudson servo motors (from Teknic) with SnapAmp control.

Thanks,
David.

On 3/19/2017 5:42 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

What kind of axis is it?

Regards

TK


On 3/19/2017 2:36 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

That's perfect... thank you.

I have been trying to reverse the 2 axis today by changing the gain values in the initialization file, but the motors thump around and I can't seem to settle them down. Is there another way to reverse them before getting to KMotionCNC?

Thanks,
David.

On 3/19/2017 5:16 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

From:

http://dynomotion.com/Help/SchematicsSnap/UsingSnapAmp.htm

A single SnapAmp adds four Quadrature Encoder inputs.  The four Quadrature Encoder inputs are identified as 8,9,10,11 for the first SnapAmp in a system and 12,13,14,15 for a second SnapAmp in a system.

Regards
TK

On 3/19/2017 12:01 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

Could you please point me to a listing of which input channels are correlated to the various encoder inputs for Kflop/Snapamp? I found it months ago by accident but haven't been able to locate it since.

Thanks,
David.

On 3/18/2017 6:04 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

The Libraries used by KMotionCNC are assuming positive Trajectory Planner Axis Resolution Parameters.  I suppose they should be able to handle negative directions but it would complicate things.

Please reverse the Axis directions in your KFLOP Configuration so as to have positive resolutions values.

Regards

TK


On 3/18/2017 2:23 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

The machine coordinates are shown in the picture... with the move the max should still be far away. Are there some other machine coordinates I'm missing?

Thanks,
David.


On 3/18/2017 4:51 PM, g.astras@... [DynoMotion] wrote:
 

Check the machines coordinates, they probably exceeded the soft limit.





Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com



Group: DynoMotion Message: 14520 From: David Stevenson Date: 3/19/2017
Subject: Re: Soft Limits Error
Hi Tom,

Thank you very much for your help with this. I will try both this and the patch you wrote tomorrow morning. I expect you mean one or the other, but I will give both a try.

Best regards,
David.

On 3/19/2017 8:15 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

To make a servo work the opposite direction both the output drive and the feedback needs to be reversed to maintain negative feedback.

The feedback can be reversed by changing the sign of the InputGain0.

The output drive can be reversed by changing the commutation.

The simplest way to determine the new commutation is to use AutoPhaseFind.c and change the line:

#define ENCODER_GAIN 1   // Set to -1 if desired to reverse axis direction

HTH

Regards

TK


On 3/19/2017 2:44 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

The axis are 3ph brushless Hudson servo motors (from Teknic) with SnapAmp control.

Thanks,
David.

On 3/19/2017 5:42 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

What kind of axis is it?

Regards

TK


On 3/19/2017 2:36 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

That's perfect... thank you.

I have been trying to reverse the 2 axis today by changing the gain values in the initialization file, but the motors thump around and I can't seem to settle them down. Is there another way to reverse them before getting to KMotionCNC?

Thanks,
David.

On 3/19/2017 5:16 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

From:

http://dynomotion.com/Help/SchematicsSnap/UsingSnapAmp.htm

A single SnapAmp adds four Quadrature Encoder inputs.  The four Quadrature Encoder inputs are identified as 8,9,10,11 for the first SnapAmp in a system and 12,13,14,15 for a second SnapAmp in a system.

Regards
TK

On 3/19/2017 12:01 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

Could you please point me to a listing of which input channels are correlated to the various encoder inputs for Kflop/Snapamp? I found it months ago by accident but haven't been able to locate it since.

Thanks,
David.

On 3/18/2017 6:04 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

The Libraries used by KMotionCNC are assuming positive Trajectory Planner Axis Resolution Parameters.  I suppose they should be able to handle negative directions but it would complicate things.

Please reverse the Axis directions in your KFLOP Configuration so as to have positive resolutions values.

Regards

TK


On 3/18/2017 2:23 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

The machine coordinates are shown in the picture... with the move the max should still be far away. Are there some other machine coordinates I'm missing?

Thanks,
David.


On 3/18/2017 4:51 PM, g.astras@... [DynoMotion] wrote:
 

Check the machines coordinates, they probably exceeded the soft limit.





Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast
                                    logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com


Group: DynoMotion Message: 14521 From: David Stevenson Date: 3/20/2017
Subject: Re: Soft Limits Error
Hi Tom,

Today I downloaded and installed 434h and your modified DLL and it works perfectly. Thanks for that.

Before I did that I tried reversing the axis directions with the APF routine, but the motors will not run in the opposite direction. I tried changing speed and accel values in the initialization file, PID setiings and anything else I could think of but the result was always the motors thumping and faulting. I guess I'm missing something with this, but at least the KMCNC MDI window is working as expected with the new DLL.

Thanks again,
David.

On 3/19/2017 9:48 PM, David Stevenson wrote:
Hi Tom,

Thank you very much for your help with this. I will try both this and the patch you wrote tomorrow morning. I expect you mean one or the other, but I will give both a try.

Best regards,
David.

On 3/19/2017 8:15 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

To make a servo work the opposite direction both the output drive and the feedback needs to be reversed to maintain negative feedback.

The feedback can be reversed by changing the sign of the InputGain0.

The output drive can be reversed by changing the commutation.

The simplest way to determine the new commutation is to use AutoPhaseFind.c and change the line:

#define ENCODER_GAIN 1   // Set to -1 if desired to reverse axis direction

HTH

Regards

TK


On 3/19/2017 2:44 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

The axis are 3ph brushless Hudson servo motors (from Teknic) with SnapAmp control.

Thanks,
David.

On 3/19/2017 5:42 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

What kind of axis is it?

Regards

TK


On 3/19/2017 2:36 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

That's perfect... thank you.

I have been trying to reverse the 2 axis today by changing the gain values in the initialization file, but the motors thump around and I can't seem to settle them down. Is there another way to reverse them before getting to KMotionCNC?

Thanks,
David.

On 3/19/2017 5:16 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

From:

http://dynomotion.com/Help/SchematicsSnap/UsingSnapAmp.htm

A single SnapAmp adds four Quadrature Encoder inputs.  The four Quadrature Encoder inputs are identified as 8,9,10,11 for the first SnapAmp in a system and 12,13,14,15 for a second SnapAmp in a system.

Regards
TK

On 3/19/2017 12:01 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

Could you please point me to a listing of which input channels are correlated to the various encoder inputs for Kflop/Snapamp? I found it months ago by accident but haven't been able to locate it since.

Thanks,
David.

On 3/18/2017 6:04 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

The Libraries used by KMotionCNC are assuming positive Trajectory Planner Axis Resolution Parameters.  I suppose they should be able to handle negative directions but it would complicate things.

Please reverse the Axis directions in your KFLOP Configuration so as to have positive resolutions values.

Regards

TK


On 3/18/2017 2:23 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

The machine coordinates are shown in the picture... with the move the max should still be far away. Are there some other machine coordinates I'm missing?

Thanks,
David.


On 3/18/2017 4:51 PM, g.astras@... [DynoMotion] wrote:
 

Check the machines coordinates, they probably exceeded the soft limit.





Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com








Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com


Group: DynoMotion Message: 14652 From: David Stevenson Date: 4/28/2017
Subject: Re: Soft Limits Error
Hi Tom,

I thought this machine was good to go but I discovered there is a problem with the limit switches and how the regular KMCNC software handles them. Since things are running in reverse, the slide is able to run past the limit switch without triggering a stop. If I creep into the limit by jogging (for testing) I cannot back out because the software thinks I'm moving farther into the limit. Hope that makes sense. On that note, it seems the "Stop Movement" and "Disallow Movement Into Limit" seem to be switched, as the functionality of each are reversed according to the "help" instructions.

Thanks in advance,
David.

On 3/20/2017 5:20 PM, David Stevenson wrote:
Hi Tom,

Today I downloaded and installed 434h and your modified DLL and it works perfectly. Thanks for that.

Before I did that I tried reversing the axis directions with the APF routine, but the motors will not run in the opposite direction. I tried changing speed and accel values in the initialization file, PID setiings and anything else I could think of but the result was always the motors thumping and faulting. I guess I'm missing something with this, but at least the KMCNC MDI window is working as expected with the new DLL.

Thanks again,
David.

On 3/19/2017 9:48 PM, David Stevenson wrote:
Hi Tom,

Thank you very much for your help with this. I will try both this and the patch you wrote tomorrow morning. I expect you mean one or the other, but I will give both a try.

Best regards,
David.

On 3/19/2017 8:15 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

To make a servo work the opposite direction both the output drive and the feedback needs to be reversed to maintain negative feedback.

The feedback can be reversed by changing the sign of the InputGain0.

The output drive can be reversed by changing the commutation.

The simplest way to determine the new commutation is to use AutoPhaseFind.c and change the line:

#define ENCODER_GAIN 1   // Set to -1 if desired to reverse axis direction

HTH

Regards

TK


On 3/19/2017 2:44 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

The axis are 3ph brushless Hudson servo motors (from Teknic) with SnapAmp control.

Thanks,
David.

On 3/19/2017 5:42 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

What kind of axis is it?

Regards

TK


On 3/19/2017 2:36 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

That's perfect... thank you.

I have been trying to reverse the 2 axis today by changing the gain values in the initialization file, but the motors thump around and I can't seem to settle them down. Is there another way to reverse them before getting to KMotionCNC?

Thanks,
David.

On 3/19/2017 5:16 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

From:

http://dynomotion.com/Help/SchematicsSnap/UsingSnapAmp.htm

A single SnapAmp adds four Quadrature Encoder inputs.  The four Quadrature Encoder inputs are identified as 8,9,10,11 for the first SnapAmp in a system and 12,13,14,15 for a second SnapAmp in a system.

Regards
TK

On 3/19/2017 12:01 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

Could you please point me to a listing of which input channels are correlated to the various encoder inputs for Kflop/Snapamp? I found it months ago by accident but haven't been able to locate it since.

Thanks,
David.

On 3/18/2017 6:04 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

The Libraries used by KMotionCNC are assuming positive Trajectory Planner Axis Resolution Parameters.  I suppose they should be able to handle negative directions but it would complicate things.

Please reverse the Axis directions in your KFLOP Configuration so as to have positive resolutions values.

Regards

TK


On 3/18/2017 2:23 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

The machine coordinates are shown in the picture... with the move the max should still be far away. Are there some other machine coordinates I'm missing?

Thanks,
David.


On 3/18/2017 4:51 PM, g.astras@... [DynoMotion] wrote:
 

Check the machines coordinates, they probably exceeded the soft limit.





Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Virus-free. www.avast.com
Group: DynoMotion Message: 14653 From: Tom Kerekes Date: 4/28/2017
Subject: Re: Soft Limits Error
Hi David,

Have you tried reversing the positive and negative limits?

Regards
TK

On Apr 28, 2017, at 8:43 AM, David Stevenson david.m.stevenson@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hi Tom,

I thought this machine was good to go but I discovered there is a problem with the limit switches and how the regular KMCNC software handles them. Since things are running in reverse, the slide is able to run past the limit switch without triggering a stop. If I creep into the limit by jogging (for testing) I cannot back out because the software thinks I'm moving farther into the limit. Hope that makes sense. On that note, it seems the "Stop Movement" and "Disallow Movement Into Limit" seem to be switched, as the functionality of each are reversed according to the "help" instructions.

Thanks in advance,
David.

On 3/20/2017 5:20 PM, David Stevenson wrote:
Hi Tom,

Today I downloaded and installed 434h and your modified DLL and it works perfectly. Thanks for that.

Before I did that I tried reversing the axis directions with the APF routine, but the motors will not run in the opposite direction. I tried changing speed and accel values in the initialization file, PID setiings and anything else I could think of but the result was always the motors thumping and faulting. I guess I'm missing something with this, but at least the KMCNC MDI window is working as expected with the new DLL.

Thanks again,
David.

On 3/19/2017 9:48 PM, David Stevenson wrote:
Hi Tom,

Thank you very much for your help with this. I will try both this and the patch you wrote tomorrow morning. I expect you mean one or the other, but I will give both a try.

Best regards,
David.

On 3/19/2017 8:15 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

To make a servo work the opposite direction both the output drive and the feedback needs to be reversed to maintain negative feedback.

The feedback can be reversed by changing the sign of the InputGain0.

The output drive can be reversed by changing the commutation.

The simplest way to determine the new commutation is to use AutoPhaseFind.c and change the line:

#define ENCODER_GAIN 1   // Set to -1 if desired to reverse axis direction

HTH

Regards

TK


On 3/19/2017 2:44 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

The axis are 3ph brushless Hudson servo motors (from Teknic) with SnapAmp control.

Thanks,
David.

On 3/19/2017 5:42 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

What kind of axis is it?

Regards

TK


On 3/19/2017 2:36 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

That's perfect... thank you.

I have been trying to reverse the 2 axis today by changing the gain values in the initialization file, but the motors thump around and I can't seem to settle them down. Is there another way to reverse them before getting to KMotionCNC?

Thanks,
David.

On 3/19/2017 5:16 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

From:

http://dynomotion.com/Help/SchematicsSnap/UsingSnapAmp.htm

A single SnapAmp adds four Quadrature Encoder inputs.  The four Quadrature Encoder inputs are identified as 8,9,10,11 for the first SnapAmp in a system and 12,13,14,15 for a second SnapAmp in a system.

Regards
TK

On 3/19/2017 12:01 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

Could you please point me to a listing of which input channels are correlated to the various encoder inputs for Kflop/Snapamp? I found it months ago by accident but haven't been able to locate it since.

Thanks,
David.

On 3/18/2017 6:04 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

The Libraries used by KMotionCNC are assuming positive Trajectory Planner Axis Resolution Parameters.  I suppose they should be able to handle negative directions but it would complicate things.

Please reverse the Axis directions in your KFLOP Configuration so as to have positive resolutions values.

Regards

TK


On 3/18/2017 2:23 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

The machine coordinates are shown in the picture... with the move the max should still be far away. Are there some other machine coordinates I'm missing?

Thanks,
David.


On 3/18/2017 4:51 PM, g.astras@... [DynoMotion] wrote:
 

Check the machines coordinates, they probably exceeded the soft limit.





Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Virus-free. www.avast.com

Group: DynoMotion Message: 14654 From: David Stevenson Date: 4/28/2017
Subject: Re: Soft Limits Error
WOW, you're good at this stuff!! That worked perfectly.

Thank you,
David.

On 4/28/2017 2:57 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 
Hi David,

Have you tried reversing the positive and negative limits?

Regards
TK

On Apr 28, 2017, at 8:43 AM, David Stevenson david.m.stevenson@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hi Tom,

I thought this machine was good to go but I discovered there is a problem with the limit switches and how the regular KMCNC software handles them. Since things are running in reverse, the slide is able to run past the limit switch without triggering a stop. If I creep into the limit by jogging (for testing) I cannot back out because the software thinks I'm moving farther into the limit. Hope that makes sense. On that note, it seems the "Stop Movement" and "Disallow Movement Into Limit" seem to be switched, as the functionality of each are reversed according to the "help" instructions.

Thanks in advance,
David.

On 3/20/2017 5:20 PM, David Stevenson wrote:
Hi Tom,

Today I downloaded and installed 434h and your modified DLL and it works perfectly. Thanks for that.

Before I did that I tried reversing the axis directions with the APF routine, but the motors will not run in the opposite direction. I tried changing speed and accel values in the initialization file, PID setiings and anything else I could think of but the result was always the motors thumping and faulting. I guess I'm missing something with this, but at least the KMCNC MDI window is working as expected with the new DLL.

Thanks again,
David.

On 3/19/2017 9:48 PM, David Stevenson wrote:
Hi Tom,

Thank you very much for your help with this. I will try both this and the patch you wrote tomorrow morning. I expect you mean one or the other, but I will give both a try.

Best regards,
David.

On 3/19/2017 8:15 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

To make a servo work the opposite direction both the output drive and the feedback needs to be reversed to maintain negative feedback.

The feedback can be reversed by changing the sign of the InputGain0.

The output drive can be reversed by changing the commutation.

The simplest way to determine the new commutation is to use AutoPhaseFind.c and change the line:

#define ENCODER_GAIN 1   // Set to -1 if desired to reverse axis direction

HTH

Regards

TK


On 3/19/2017 2:44 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

The axis are 3ph brushless Hudson servo motors (from Teknic) with SnapAmp control.

Thanks,
David.

On 3/19/2017 5:42 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

What kind of axis is it?

Regards

TK


On 3/19/2017 2:36 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

That's perfect... thank you.

I have been trying to reverse the 2 axis today by changing the gain values in the initialization file, but the motors thump around and I can't seem to settle them down. Is there another way to reverse them before getting to KMotionCNC?

Thanks,
David.

On 3/19/2017 5:16 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

From:

http://dynomotion.com/Help/SchematicsSnap/UsingSnapAmp.htm

A single SnapAmp adds four Quadrature Encoder inputs.  The four Quadrature Encoder inputs are identified as 8,9,10,11 for the first SnapAmp in a system and 12,13,14,15 for a second SnapAmp in a system.

Regards
TK

On 3/19/2017 12:01 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

Could you please point me to a listing of which input channels are correlated to the various encoder inputs for Kflop/Snapamp? I found it months ago by accident but haven't been able to locate it since.

Thanks,
David.

On 3/18/2017 6:04 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

The Libraries used by KMotionCNC are assuming positive Trajectory Planner Axis Resolution Parameters.  I suppose they should be able to handle negative directions but it would complicate things.

Please reverse the Axis directions in your KFLOP Configuration so as to have positive resolutions values.

Regards

TK


On 3/18/2017 2:23 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

The machine coordinates are shown in the picture... with the move the max should still be far away. Are there some other machine coordinates I'm missing?

Thanks,
David.


On 3/18/2017 4:51 PM, g.astras@... [DynoMotion] wrote:
 

Check the machines coordinates, they probably exceeded the soft limit.





Avast
                                                          logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast
                                                          logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Virus-free. www.avast.com

Group: DynoMotion Message: 14655 From: Tom Kerekes Date: 4/28/2017
Subject: Re: Soft Limits Error

Sometimes we get lucky :)

Regards

TK


On 4/28/2017 2:41 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

WOW, you're good at this stuff!! That worked perfectly.

Thank you,
David.

On 4/28/2017 2:57 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 
Hi David,

Have you tried reversing the positive and negative limits?

Regards
TK

On Apr 28, 2017, at 8:43 AM, David Stevenson david.m.stevenson@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:

 

Hi Tom,

I thought this machine was good to go but I discovered there is a problem with the limit switches and how the regular KMCNC software handles them. Since things are running in reverse, the slide is able to run past the limit switch without triggering a stop. If I creep into the limit by jogging (for testing) I cannot back out because the software thinks I'm moving farther into the limit. Hope that makes sense. On that note, it seems the "Stop Movement" and "Disallow Movement Into Limit" seem to be switched, as the functionality of each are reversed according to the "help" instructions.

Thanks in advance,
David.

On 3/20/2017 5:20 PM, David Stevenson wrote:
Hi Tom,

Today I downloaded and installed 434h and your modified DLL and it works perfectly. Thanks for that.

Before I did that I tried reversing the axis directions with the APF routine, but the motors will not run in the opposite direction. I tried changing speed and accel values in the initialization file, PID setiings and anything else I could think of but the result was always the motors thumping and faulting. I guess I'm missing something with this, but at least the KMCNC MDI window is working as expected with the new DLL.

Thanks again,
David.

On 3/19/2017 9:48 PM, David Stevenson wrote:
Hi Tom,

Thank you very much for your help with this. I will try both this and the patch you wrote tomorrow morning. I expect you mean one or the other, but I will give both a try.

Best regards,
David.

On 3/19/2017 8:15 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

To make a servo work the opposite direction both the output drive and the feedback needs to be reversed to maintain negative feedback.

The feedback can be reversed by changing the sign of the InputGain0.

The output drive can be reversed by changing the commutation.

The simplest way to determine the new commutation is to use AutoPhaseFind.c and change the line:

#define ENCODER_GAIN 1   // Set to -1 if desired to reverse axis direction

HTH

Regards

TK


On 3/19/2017 2:44 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

The axis are 3ph brushless Hudson servo motors (from Teknic) with SnapAmp control.

Thanks,
David.

On 3/19/2017 5:42 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

What kind of axis is it?

Regards

TK


On 3/19/2017 2:36 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

That's perfect... thank you.

I have been trying to reverse the 2 axis today by changing the gain values in the initialization file, but the motors thump around and I can't seem to settle them down. Is there another way to reverse them before getting to KMotionCNC?

Thanks,
David.

On 3/19/2017 5:16 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

From:

http://dynomotion.com/Help/SchematicsSnap/UsingSnapAmp.htm

A single SnapAmp adds four Quadrature Encoder inputs.  The four Quadrature Encoder inputs are identified as 8,9,10,11 for the first SnapAmp in a system and 12,13,14,15 for a second SnapAmp in a system.

Regards
TK

On 3/19/2017 12:01 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

Hi Tom,

Could you please point me to a listing of which input channels are correlated to the various encoder inputs for Kflop/Snapamp? I found it months ago by accident but haven't been able to locate it since.

Thanks,
David.

On 3/18/2017 6:04 PM, Tom Kerekes tk@... [DynoMotion] wrote:
 

Hi David,

The Libraries used by KMotionCNC are assuming positive Trajectory Planner Axis Resolution Parameters.  I suppose they should be able to handle negative directions but it would complicate things.

Please reverse the Axis directions in your KFLOP Configuration so as to have positive resolutions values.

Regards

TK


On 3/18/2017 2:23 PM, David Stevenson david.m.stevenson@... [DynoMotion] wrote:
 

The machine coordinates are shown in the picture... with the move the max should still be far away. Are there some other machine coordinates I'm missing?

Thanks,
David.


On 3/18/2017 4:51 PM, g.astras@... [DynoMotion] wrote:
 

Check the machines coordinates, they probably exceeded the soft limit.





Avast
                                                          logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast
                                                          logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com







Virus-free. www.avast.com